package cn.edu.cqut.test0416;

public class Test {
	public static void main(String[] args) {
//		Outer o = new Outer();
		new Outer().new Inner1().show();
//		i.show();
	}
}

class Outer {
	private int num = 10;

	class Inner1 {
		public int num = 20;

		public void show() {
			int num = 30;
			System.out.println(num);// 输出30
			System.out.println(this.num);// 输出20
			System.out.println(Outer.this.num);// 输出10
		}
	}
}
